package com.xjtu.se.homework.common.page;

public class CurrentAdmin {

    public static final String SESSION_ATTR_NAME="CurrentUser";//session属性名字

    private String adminId;
    private String adminName;
    private String adminPass;

    public CurrentAdmin() {
    }

    public CurrentAdmin(String adminId, String adminName, String adminPass) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.adminPass = adminPass;
    }

    public static String getSessionAttrName() {
        return SESSION_ATTR_NAME;
    }

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminPass() {
        return adminPass;
    }

    public void setAdminPass(String adminPass) {
        this.adminPass = adminPass;
    }
}
